<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{% block title %}{% endblock %}</title>
    <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
    <script src="{% static 'js/popper.min.js' %}"></script>
    <script src="{% static 'js/bootstrap.min.js' %}"></script>
    {% block head %}{% endblock %}
</head>
<body>
<header class="p-3 text-bg-light border-bottom mb-3">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                <img src="{% static 'img/logo.png' %}" alt="" height="20"> </img>
            </a>

            <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="#" class="nav-link px-2 text-secondary">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-secondary">发布博客</a></li>

            </ul>

            <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                <input type="search" class="form-control" placeholder="搜索..." aria-label="Search">
            </form>

            <div class="text-end">
                <button type="button" class="btn btn-primary">登录</button>
                <button type="button" class="btn btn-warning">退出</button>
            </div>
        </div>
    </div>
</header>
<main class="container rounded bg-white p-3">
    <h3>张方舟的一天</h3>
    <hr>
    <div class="text-body-tertiary">
        <span>
            <img src="{% static 'img/1.jpg' %}" height="30" width="30" class="rounded-circle">

        </span>
        <span>张庆坤</span>
        <span>于</span>

        <span>2025年03月29日 11：28</span>发布

    </div>
    <hr>
    <div>
        这是博客详情页
    </div>
    <hr>
    <div class="comment">评论（10）</div>
    <div class="mt-2">
        <input class="form-control" type="text" placeholder="请输入评论" aria-label="default input example">

    </div>
    <div class="mt-2 d-flex justify-content-end">
        <button type="button" class="btn btn-primary">评论</button>
    </div>

    <div class="mt-2">
        <ul class="list-group list-group-flush">
            <li class="list-group-item text-body-tertiary d-flex justify-content-sm-between">
                <span>
                    <img src="{% static 'img/1.jpg' %}" height="30" width="30" class="rounded-circle">
                    张庆坤
                </span>

                <span class="create_time" style="line-height: 30px;">
                    2025年03月29日 11：28
                </span>
            </li>

        </ul>
    </div>
</main>
</body>
</html>


